Skip to content

Conversation

@him0
Copy link
Owner

@him0 him0 commented Jun 29, 2025

Summary

  • Fix sync script to run without 'sync' argument (matches CLI behavior)
  • Add explicit shebang header to build process for proper npm execution
  • Bump version to 0.3.1

Changes

  1. Sync script fix: Changed "sync": "bun run src/cli.ts sync" to "sync": "bun run src/cli.ts" to match the CLI's default behavior where sync runs without arguments
  2. Build configuration: Added --header='#\!/usr/bin/env node' to the build command to ensure proper shebang in the output file for npm execution
  3. Version bump: Updated to 0.3.1 for the fixes

Test plan

  • Verify bun run sync works correctly
  • Verify build generates proper executable with shebang
  • Test npx @him0/ai-docs-sync after publishing

🤖 Generated with Claude Code

- Fix sync script to run without 'sync' argument (matches CLI behavior)
- Add explicit shebang header to build process for proper npm execution
- Bump version to 0.3.1

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@him0 him0 merged commit 6cf69ac into main Jun 29, 2025
4 checks passed
@him0 him0 deleted the fix/package-scripts-and-build branch June 29, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants